import { defineStore } from "pinia";

export const useAsyncRouteListStore = defineStore({
  id: "routeList",
  state: () => {
    return {
      routeList: [{}], // 我是服了
      isColumnsMenuHover: false,
      isColumnsNavHover: false,
    };
  },
  actions: {
    setRouteList(routeList: Array<object>) {
      this.routeList = routeList;
    },
  },
});
